import * as React from 'react';
import propTypes from 'prop-types';

/* eslint-disable */
export default function PlcaeHolderSelect({ text, onClick, className }) {
  const classnames = ['ant-select', 'ant-select-enabled'];
  classnames.push(className || '');
  return (
    <div role="button" onClick={() => onClick && onClick()} className={classnames.join(' ')}>
      <div className="ant-select-selection ant-select-selection--single" role="combobox" aria-autocomplete="list" aria-haspopup="true" aria-expanded="false">
        <div className="ant-select-selection__rendered">
          <div className="ant-select-selection-selected-value" >
            {text || '加载中...'}
          </div>
        </div>
        <span className="ant-select-arrow">
          <b>&nbsp;</b>
        </span>
      </div>
    </div >
  );
}
PlcaeHolderSelect.propTypes = {
  text: propTypes.string,
  onClick: propTypes.func,
  className: propTypes.string,
};
